﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ForceField : Trap
{
    public bool useGlobal = true;
    public ForceParam.ForceFieldParam normalParam, lightParam, heavyParam;
    public Dictionary<Head.State, ForceParam.ForceFieldParam> stateParamDict;

    // Start is called before the first frame update
    void Start()
    {
        if (useGlobal)
        {
            normalParam = ParameterManager.manager.normalParam.forceFieldParam;
            lightParam = ParameterManager.manager.lightParam.forceFieldParam;
            heavyParam = ParameterManager.manager.heavyParam.forceFieldParam;
        }
        stateParamDict = new Dictionary<Head.State, ForceParam.ForceFieldParam>();
        stateParamDict[Head.State.Heavy] = heavyParam;
        stateParamDict[Head.State.Normal] = normalParam;
        stateParamDict[Head.State.Light] = lightParam;
    }

    // Update is called once per frame
    void Update()
    {
        
    }
}
